{{ $dir := "" }}
{{ if ge hugo.Version "0.67.1" }}
  {{ with  site.Language.LanguageDirection }}
     {{ $dir = . }}
  {{ end }}
{{ end }}
{{ return $dir }}
